package hollycrm.com.libuip.socket;

/**
 * Created by aber on 2017/1/17.
 */

public interface UIPMessageID {

    // ---- EVT 坐席状态事件 等话路无关事件 ----
    /**
     * 操作状态操作失败事件
     * */
    String Evt_ASFailure            =       "Evt_IContact_ASFailure";
    /**
     * 签入成功事件
     * */
    String Evt_AgentLogin           =       "Evt_IContact_AgentLogin";
    /**
     * 示闲事件
     * */
    String Evt_AgentReady           =       "Evt_IContact_AgentReady";
    /**
     * 示忙事件
     * */
    String Evt_AgentNotReady        =       "Evt_IContact_AgentNotReady";
    /**
     * 其他工作事件
     * */
    String Evt_AgentOtherWork       =       "Evt_IContact_AgentOtherWork";
    /**
     * 坐席类型切换事件
     * */
    String Evt_ChangeAgentType      =       "Evt_IContact_ChangeAgentType";
    /**
     * 签出成功事件
     * */
    String Evt_AgentLogout          =       "Evt_IContact_AgentLogout";
    // -------- 坐席工作，锁定，整理 等话路相关事件  ----------
    /**
     * 坐席工作事件
     * */
    String Evt_AgentWorking         =       "Evt_IContact_AgentWorking";
    /**
     * 坐席锁定事件
     * */
    String Evt_AgentLocked          =       "Evt_IContact_AgentLocked";
    /**
     * 坐席整理事件
     * */
    String Evt_AgentAfterCallWork   =       "Evt_IContact_AgentAfterCallWork";
    // --------  Link 层操作失败事件  ---------
    /**
     * Link 层操作失败事件
     * */
    String Evt_UniversalFailure     =       "Evt_IContact_UniversalFailure";
    /**
     * 摘机事件
     * */
    String Evt_OffHook              =       "Evt_IContact_OffHook";
    /**
     * 咨询摘机事件
     * */
    String Evt_ConsultOffHook       =       "Evt_IContact_ConsultOffHook";

    /**
     * 呼入振铃*/
    String Evt_Offering             =       "Evt_IContact_Offering";
    /**
     * 呼出回铃（拨号）
     * */
    String Evt_Dialing              =       "Evt_IContact_Dialing";
    /**
     * 咨询振铃
     * */
    String Evt_ConsultDialing       =       "Evt_IContact_BeConsultOffering";
    /**
     * 被咨询振铃
     * */
    String Evt_BeConsultOffering    =       "Evt_IContact_BeConsultOffering";

    // -----     通话双方 话路通知事件 ------
    String Evt_Connected            =       "Evt_IContact_Connected";
    String Evt_Released             =       "Evt_IContact_Released";
    String Evt_Held                 =       "Evt_IContact_Held";
    String Evt_BeHeld               =       "Evt_IContact_BeHeld";
    String Evt_ConsultConnected     =       "Evt_IContact_ConsultConnected";
    String Evt_Conferenced          =       "Evt_IContact_Conferenced";
    String Evt_BeConsultConnected   =       "Evt_IContact_BeConsultConnected";
    String Evt_BeConferenced        =       "Evt_IContact_BeConferenced";
    String Evt_Notify               =       "Evt_IContact_Notify";

    // -----    CTI操作失败事件   -----
    String Evt_Failed               =       "Evt_IContact_Failed";
    String Evt_ConsultFailed        =       "Evt_IContact_ConsultFailed";
    String Evt_Recording            =       "Evt_IContact_Recording";
    String Evt_RecordEnd            =       "Evt_IContact_RecordEnd";
    String Evt_ForceInserted        =       "Evt_IContact_ForceInserted";
    String Evt_Listened             =       "Evt_IContact_Listened";
    String Evt_LinkDown             =       "Evt_IContact_LinkDown";
    // TODO: 2017/3/27


// ---- Cmd ----

    String Cmd_Heartbeat            =       "Cmd_IBaseLib_Client2ServerHeartbeat";
    String Cmd_AgentLogin           =       "Cmd_IContact_AgentLogin";
    String Cmd_AgentLogout          =       "Cmd_IContact_AgentLogout";
    String Cmd_AgentNotReady        =       "Cmd_IContact_AgentNotReady";
    String Cmd_AgentReady           =       "Cmd_IContact_AgentReady";
    String Cmd_AgentOtherWork       =       "Cmd_IContact_AgentOtherWork";
    String Cmd_AgentReset           =       "Cmd_IContact_AgentReset";
    String Cmd_ChangeAgentType      =       "Cmd_IContact_ChangeAgentType";

    // outgoing call controller ids
    String Cmd_MakeCall             =       "Cmd_IContact_MakeCall";
    String Cmd_AnswerCall           =       "Cmd_IContact_AnswerCall"; // not supp;t IPCC
    String Cmd_HangupCall           =       "Cmd_IContact_HangupCall";
    String Cmd_ClearCall            =       "Cmd_IContact_ClearCall";
    String Cmd_HoldCall             =       "Cmd_IContact_HoldCall";
    String Cmd_RetrieveCall         =       "Cmd_IContact_RetrieveCall";
    String Cmd_ConsultCall          =       "Cmd_IContact_ConsultCall";
    String Cmd_ReconnectCall        =       "Cmd_IContact_ReconnectCall";
    String Cmd_TransferCall         =       "Cmd_IContact_TransferCall";
    String Cmd_ConferenceCall       =       "Cmd_IContact_ConferenceCall";
    String Cmd_SingleStepTransfer   =       "Cmd_IContact_SingleStepTransfer";
    String Cmd_SendDTMF             =       "Cmd_IContact_SendDTMF";

    String Cmd_ForceAgentNotReady   =       "Cmd_IContact_ForceAgentNotReady";
    String Cmd_ForceAgentReady      =       "Cmd_IContact_ForceAgentReady";
    String Cmd_ForceAgentLogout     =       "Cmd_IContact_ForceAgentLogout";
    String Cmd_Listen               =       "Cmd_IContact_Listen";
    String Cmd_ForceInsert          =       "Cmd_IContact_ForceInsert";

    String Cmd_SendMessage          =       "Cmd_IContact_SendMessage";
    String Cmd_PublishDynamicTopic  =       "Cmd_IContact_PublishDynamicTopic";
    String Cmd_DestroyDynamicTopic  =       "Cmd_IContact_DestroyDynamicTopic";
    String Cmd_RequestMonitorInfo   =       "Cmd_IContact_RequestMonitorInfo";
    String Cmd_GetCallData          =       "Cmd_IContact_GetCallData";
    String Cmd_Svr_SubscribeTopic   =       "Cmd_IBaseSvr_SubscribeTopic";
    String Cmd_IBaseSvr_UnsubscribeTopic = "Cmd_IBaseSvr_UnsubscribeTopic";


    // ---- Resp ----
    String Resp_Heartbeat           =       "Resp_IBaseLib_Client2ServerHeartbeat";
    String Resp_AgentLogin          =       "Resp_IContact_AgentLogin";
    String Resp_AgentLogout         =       "Resp_IContact_AgentLogout";
    String Resp_AgentNoReady        =       "Resp_IContact_AgentNotReady";
    String Resp_AgentReady          =       "Resp_IContact_AgentReady";
    String Resp_AgentOtherWork      =       "Resp_IContact_AgentOtherWork";
    String Resp_AgentReset          =       "Resp_IContact_AgentReset";
    String Resp_ChangeAgentType     =       "Resp_IContact_ChangeAgentType";

    // outgoing call controller ids
    String Resp_MakeCall            =       "Resp_IContact_MakeCall";
    String Resp_AnswerCall          =       "Resp_IContact_AnswerCall";
    String Resp_HangupCall          =       "Resp_IContact_HangupCall";
    String Resp_ClearCall           =       "Resp_IContact_ClearCall";
    String Resp_HoldCall            =       "Resp_IContact_HoldCall";
    String Resp_RetrieveCall        =       "Resp_IContact_RetrieveCall";
    String Resp_ConsultCall         =       "Resp_IContact_ConsultCall";
    String Resp_ReconnectCall       =       "Resp_IContact_ReconnectCall";
    String Resp_TransferCall        =       "Resp_IContact_TransferCall";
    String Resp_ConferenceCall      =       "Resp_IContact_ConferenceCall";
    String Resp_SingleStepTransfer  =       "Resp_IContact_SingleStepTransfer";
    String Resp_SendDTMF            =       "Resp_IContact_SendDTMF";

    String Resp_ForceAgentNotReady  =       "Resp_IContact_ForceAgentNotReady";
    String Resp_ForceAgentReady     =       "Resp_IContact_ForceAgentReady";
    String Resp_ForceAgentLogout    =       "Resp_IContact_ForceAgentLogout";
    String Resp_Listen              =       "Resp_IContact_Listen";
    String Resp_ForceInsert         =       "Resp_IContact_ForceInsert";

    String Resp_SendMessage         =       "Resp_IContact_SendMessage";
    String Resp_PublishDynamicTopic =       "Resp_IContact_PublishDynamicTopic";
    String Resp_DestroyDynamicTopic =       "Resp_IContact_DestroyDynamicTopic";
    String Resp_RequestMonitorInfo  =       "Resp_IContact_RequestMonitorInfo";
    String Resp_GetCallData         =       "Resp_IContact_GetCallData";
    String Resp_IBaseSvr_SubscribeTopic =   "Resp_IBaseSvr_SubscribeTopic";
    String Resp_IBaseSvr_UnsubscribeTopic =   "Resp_IBaseSvr_UnsubscribeTopic";
}
